﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TA.Turbo.Controls;

namespace TA.Turbo
{
	public interface IEventHandler
	{
		/// <summary>
		/// When implemented, raises events.
		/// </summary>
		/// <param name="name"></param>
		/// <param name="argument"></param>
		void RaiseEvent(string name, string argument);
		/// <summary>
		/// When implemented, gets the current scenario for this control using the specified event name.
		/// </summary>
		/// <param name="name"></param>
		/// <param name="argument"></param>
		/// <returns></returns>
		PostScenario GetCurrentScenario(string name, string argument);
	}
}
